import { useStorage } from '@vueuse/core'
import { defineStore } from 'pinia'

export const useToolsStore = defineStore('toolsStore', () => {
   const myIcons = useStorage<string>('myIcons', '')
   const GetConfig = async (node,name) => {
    if (window.runtime) {
    res = await GetIcons()
  } else {
    console.log('wails error')
    res = toolsStore.myIcons

  }
   }
  return {
    myIcons,
  }
})